package com.ruoyi.web.controller.TiebaPosts.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.web.controller.TiebaPosts.domain.TiebaPosts;
import org.springframework.transaction.annotation.Transactional;

/**
 * 贴吧里面的帖子Service接口
 *
 * @author yong
 * @date 2025-03-09
 */
public interface ITiebaPostsService extends IService<TiebaPosts> {

    /**
     * 查询贴吧里面的帖子列表
     *
     * @param tiebaPosts 贴吧里面的帖子
     * @return 贴吧里面的帖子集合
     */
    public List<TiebaPosts> selectTiebaPostsList(TiebaPosts tiebaPosts);

    List<TiebaPosts> selectTiebaPostsList2(TiebaPosts tiebaPosts);

    List<TiebaPosts> selectTiebaPostsList3(TiebaPosts tiebaPosts);

    boolean toggleAction(Long userId, Long postId, Integer actionType);
}
